package com.secret.chain.secretchain.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Article {
    private Integer id;
    private  Integer creatorId;
    private Integer groupId;
    private String title;
    private String content;
    private Integer likeCount;//点赞数量
    private Integer collectCount;//收藏数量
    private Integer forwardCount;//转发数量
    private Integer readCount;
    private LocalDateTime  creatTime;
    private LocalDateTime updateTime;
    private Integer status;

}
